package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 乐理对象 admin_theory
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class AdminTheory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 乐理id */
    @Excel(name = "乐理id")
    private Long theoryId;

    /** 乐理编号 */
    private String theoryNo;

    /** 乐理名称 */
    @Excel(name = "乐理名称")
    private String theoryName;

    /** 乐理图片 */
    @Excel(name = "乐理图片")
    private String picture;

    /** 难度级别1入门2初级3中级4高级 */
    @Excel(name = "难度级别1入门2初级3中级4高级")
    private String theoryLevel;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 帐号状态（0正常 1停用） */
    private String delFlag;

    /** 用户Id */
    private Long userId;

  /** 课时编号 */
  private Long preidId;

  /** 课时ID */
  private String addPeriedFlag;

  public String getAddPeriedFlag () {
    return addPeriedFlag;
  }

  public void setAddPeriedFlag (String addPeriedFlag) {
    this.addPeriedFlag = addPeriedFlag;
  }

  public Long getPreidId () {
    return preidId;
  }

  public void setPreidId (Long preidId) {
    this.preidId = preidId;
  }

    public void setTheoryId(Long theoryId) 
    {
        this.theoryId = theoryId;
    }

    public Long getTheoryId() 
    {
        return theoryId;
    }
    public void setTheoryNo(String theoryNo) 
    {
        this.theoryNo = theoryNo;
    }

    public String getTheoryNo() 
    {
        return theoryNo;
    }
    public void setTheoryName(String theoryName) 
    {
        this.theoryName = theoryName;
    }

    public String getTheoryName() 
    {
        return theoryName;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setTheoryLevel(String theoryLevel) 
    {
        this.theoryLevel = theoryLevel;
    }

    public String getTheoryLevel() 
    {
        return theoryLevel;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("theoryId", getTheoryId())
            .append("theoryNo", getTheoryNo())
            .append("theoryName", getTheoryName())
            .append("picture", getPicture())
            .append("theoryLevel", getTheoryLevel())
            .append("status", getStatus())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
